package client.controlpanel;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.net.URISyntaxException;

public class AboutButton implements ActionListener {

	@Override
	public void actionPerformed(ActionEvent arg0) {
		java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
		java.net.URI uri = null;
		try {
			uri = new java.net.URI("http://nyan.cat/");
		} catch (URISyntaxException e1) {
			e1.printStackTrace();
		}
		try {
			desktop.browse(uri);
		} catch (IOException e1) {
			e1.printStackTrace();
		}
	}

}
